import axios from '../utils/request.js';

export function getUserInfo(params) {
  return axios.request({
    url: '/user',
    method: 'get',
    params
  })
}

export function  login(data) {
  
  return  axios.request({
    url: '/login',
    method: 'post',
    data
  })
  
}

export function  getValidator() {
  return  axios.request({
    url: '/jobs',
    method: 'get',
  })
  
}